import {customeStruct} from '../utils';
const itf = customeStruct.interface;
export const List = itf({
    payload: itf({
        content: [itf({
            id: 'string',
            rowVersion: 'string? | null',
            options: ['string']
        })],
        totalElements: 'number'
    })
});


export const Detail = itf({
    payload: itf(
        {
            id: 'string',
            status: 'number? | null',
            length: 'number? | null',
            width: 'number? | null',
            height: 'number? | null',
            volume: 'number? | null',
            netWeight: 'number? | null',
            grossWeight: 'number? | null',
            rowVersion: 'string? | null',
            options: [
                'string'
            ],
           
        },
    )
});

export const Brand = itf({
    payload: itf({
        content: [
            itf({
                id: 'string',
                code: 'string',
                name: 'string',
            })
        ],
    })
});

export const PackDetails = itf({
    payload: itf({
        content: [itf({
            packingListId: 'string',
        })],
    })
});
